#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QtCore>
#include <QFileDialog>
#include <stdio.h>
#include <iostream>
//#include <surf.h>
#include <progressdialog.h>
#include <aboutdialog.h>
#include <helpdialog.h>
#include <settingsdialog.h>
#include <settings.h>
#include <resultsdialog.h>
#include <QMessageBox>


using namespace std;

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow {
    Q_OBJECT
public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();
    QString file;
    QString directory;
    QPixmap picture;



protected:
    void changeEvent(QEvent *e);

private:
    Ui::MainWindow *ui;

public slots:
    void openFile();
    void openFolder();
    void search();
    //void close();
    void showAbout();
    void showHelp();
    void showSettings();
    void hideToolbar();
    void changeSettings();


};

extern Settings GlobalSettings;

#endif // MAINWINDOW_H
